package com.efast.dmom.mes.entity;

import java.math.BigDecimal;

import com.efast.dmom.mes.entity.base.PartRelateBaseEntity;

/**
 * 
 * @author William Wu
 * @Date 2020年2月13日
 *	bom中的替代料
 */
public class BomItemAlternateEntity extends PartRelateBaseEntity{

	private static final long serialVersionUID = 5515745361735252243L;
	//核心字段
	/**
	 * bomItemAlternateName 用BaseEntity的变量Name BOM替代料的名称
	 * bomId 
	 * bomItemId 替代哪颗料;bomItemId中包含partNo
	 * maxReplacementPercent 最大替代比例
	 * partNo
	 * partRevison
	 * 
	 */
	private long bomId;
	private long bomItemId;
	
	
	private long partId;
	private String partNo;
	private String partRevision;
	
	private long alternatePartId;
	private String alternatePartNo;
	private String alternatePartRevision;
	
	private BigDecimal maxReplacementPercent;
	private BigDecimal conversionFactor; //换算系数 1比1；1比2等等
	
	public long getBomId() {
		return bomId;
	}
	public void setBomId(long bomId) {
		this.bomId = bomId;
	}
	public long getBomItemId() {
		return bomItemId;
	}
	public void setBomItemId(long bomItemId) {
		this.bomItemId = bomItemId;
	}
	public long getPartId() {
		return partId;
	}
	public void setPartId(long partId) {
		this.partId = partId;
	}
	public String getPartNo() {
		return partNo;
	}
	public void setPartNo(String partNo) {
		this.partNo = partNo;
	}
	public String getPartRevision() {
		return partRevision;
	}
	public void setPartRevision(String partRevision) {
		this.partRevision = partRevision;
	}
	public long getAlternatePartId() {
		return alternatePartId;
	}
	public void setAlternatePartId(long alternatePartId) {
		this.alternatePartId = alternatePartId;
	}
	public String getAlternatePartNo() {
		return alternatePartNo;
	}
	public void setAlternatePartNo(String alternatePartNo) {
		this.alternatePartNo = alternatePartNo;
	}
	public String getAlternatePartRevision() {
		return alternatePartRevision;
	}
	public void setAlternatePartRevision(String alternatePartRevision) {
		this.alternatePartRevision = alternatePartRevision;
	}
	public BigDecimal getMaxReplacementPercent() {
		return maxReplacementPercent;
	}
	public void setMaxReplacementPercent(BigDecimal maxReplacementPercent) {
		this.maxReplacementPercent = maxReplacementPercent;
	}
	public BigDecimal getConversionFactor() {
		return conversionFactor;
	}
	public void setConversionFactor(BigDecimal conversionFactor) {
		this.conversionFactor = conversionFactor;
	}
	
}
